/**
 * 
 */
package edu.umd.clip.lm.util;

import java.io.Serializable;

import org.w3c.dom.*;

/**
 * @author Denis Filimonov <den@cs.umd.edu>
 *
 */
public abstract class XMLizable implements Serializable {
	private static final long serialVersionUID = 1L;
	public XMLizable(Element xmlnode) {
		throw new Error("XMLizable(Element) must be overriden");
	}
	public XMLizable() {
		super();
	}
	public abstract Element createXML(Document doc);
	public abstract String getElementName();
}
